<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../static/css/style.css" rel="stylesheet" type="text/css" />
<link href="../static/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../static/js/jquery.js"></script>
<script type="text/javascript" src="../static/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="../static/js/select-ui.min.js"></script>
<script type="text/javascript" src="../static/editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {

	$(".select3").uedSelect({
		width : 152
	});
});
</script>
</head>

<body class="sarchbody">

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">房间管理</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    <div class="formtitle"><span>房间列表</span></div>
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th>房间号<i class="sort"><img src="../static/images/px.gif" /></i></th>
        <th>类型</th>
        <th>价格</th>
		<th>房间状态</th>
            <th>操作</th>
        </tr>
        </thead>

        <tbody>
        {% for foo in obj %}
            <form action="/roomdelete/" method="post">
            <tr>
            <td>{{ foo.roomid }}</td>
            <td>{{ foo.roomtype }}</td>
            <td>{{ foo.roomprice }}</td>
            <td>{{ foo.roomstate }}</td>
            <td><input type="hidden" name="roomid" value="{{ foo.roomid }}"/><input style="color: black; background-color: transparent; border: none;" type="submit" class="tablelink" value="删除"/></td>
            </tr>
            </form>
        {% endfor %}
		<tr><td colspan="5" style="text-align: center;"><a href="/static/roomaddlist.html">添加房间</a></td></tr>
        </tbody>
    </table>
    

       
	</div> 
 

    
    
    </div>


</body>

</html>